FMeinicke's Wiki

Home

❯

Docker

❯

Bind mount in top level `volumes`

Bind mount in top-level `volumes`

May 26, 20251 min read

  • docker-compose/volumes/local

local

Source

  • https://forums.docker.com/t/top-level-volume-with-absolute-path/27552/6
version: '3'
 
volumes:
  config:
    driver: local
    driver_opts:
      type: local
      device: ./volumes/<service>/data
      o: bind

Graph View

Created with Quartz v4.5.0 © 2025

  • GitHub